package day04;
/**分支结构switch....case的演示*/
public class SwitchCaseDemo {
    public static void main(String[] args) {
        int num = 2;
        switch (num){
            case 1 ://if(num==1)
                System.out.println(111);
                break;
            case 2 :
                System.out.println("222");
                break;
            case 3 :
                System.out.println("333");
            default:
                System.out.println("666");

        }




















    }
}
